package com.linshengjian.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@Api(description = "呵呵")
public class TestController {

    @ApiOperation(value = "测试1", notes = "测试notes", tags = "测试tags")
    @RequestMapping("test1")
    @ResponseBody
    public String test1() {
        return "呵呵";
    }

    @RequestMapping("test2")
    public String test2() {
        return "哈哈";
    }
}
